Optimal. Leaf size=187 \[ \frac {5848 \sqrt {x} (2+3 x)}{315 \sqrt {2+5 x+3 x^2}}+\frac {2}{105} \sqrt {x} (1045+531 x) \sqrt {2+5 x+3 x^2}-\frac {2 (14+5 x) \left (2+5 x+3 x^2\right )^{3/2}}{7 \sqrt {x}}-\frac {5848 \sqrt {2} (1+x) \sqrt {\frac {2+3 x}{1+x}} E\left (\tan ^{-1}\left (\sqrt {x}\right )|-\frac {1}{2}\right )}{315 \sqrt {2+5 x+3 x^2}}+\frac {482 \sqrt {2} (1+x) \sqrt {\frac {2+3 x}{1+x}} F\left (\tan ^{-1}\left (\sqrt {x}\right )|-\frac {1}{2}\right )}{21 \sqrt {2+5 x+3 x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.08, antiderivative size = 187, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 6, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.240, Rules used = {826, 828, 853,
1203, 1114, 1150} \begin {gather*} \frac {482 \sqrt {2} (x+1) \sqrt {\frac {3 x+2}{x+1}} F\left (\text {ArcTan}\left (\sqrt {x}\right )|-\frac {1}{2}\right )}{21 \sqrt {3 x^2+5 x+2}}-\frac {5848 \sqrt {2} (x+1) \sqrt {\frac {3 x+2}{x+1}} E\left (\text {ArcTan}\left (\sqrt {x}\right )|-\frac {1}{2}\right )}{315 \sqrt {3 x^2+5 x+2}}-\frac {2 (5 x+14) \left (3 x^2+5 x+2\right )^{3/2}}{7 \sqrt {x}}+\frac {2}{105} \sqrt {x} (531 x+1045) \sqrt {3 x^2+5 x+2}+\frac {5848 \sqrt {x} (3 x+2)}{315 \sqrt {3 x^2+5 x+2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 826
Rule 828
Rule 853
Rule 1114
Rule 1150
Rule 1203
Rubi steps
\begin {align*} \int \frac {(2-5 x) \left (2+5 x+3 x^2\right )^{3/2}}{x^{3/2}} \, dx &=-\frac {2 (14+5 x) \left (2+5 x+3 x^2\right )^{3/2}}{7 \sqrt {x}}-\frac {6}{7} \int \frac {\left (-25-\frac {59 x}{2}\right ) \sqrt {2+5 x+3 x^2}}{\sqrt {x}} \, dx\\ &=\frac {2}{105} \sqrt {x} (1045+531 x) \sqrt {2+5 x+3 x^2}-\frac {2 (14+5 x) \left (2+5 x+3 x^2\right )^{3/2}}{7 \sqrt {x}}+\frac {4}{105} \int \frac {\frac {1205}{2}+731 x}{\sqrt {x} \sqrt {2+5 x+3 x^2}} \, dx\\ &=\frac {2}{105} \sqrt {x} (1045+531 x) \sqrt {2+5 x+3 x^2}-\frac {2 (14+5 x) \left (2+5 x+3 x^2\right )^{3/2}}{7 \sqrt {x}}+\frac {8}{105} \text {Subst}\left (\int \frac {\frac {1205}{2}+731 x^2}{\sqrt {2+5 x^2+3 x^4}} \, dx,x,\sqrt {x}\right )\\ &=\frac {2}{105} \sqrt {x} (1045+531 x) \sqrt {2+5 x+3 x^2}-\frac {2 (14+5 x) \left (2+5 x+3 x^2\right )^{3/2}}{7 \sqrt {x}}+\frac {964}{21} \text {Subst}\left (\int \frac {1}{\sqrt {2+5 x^2+3 x^4}} \, dx,x,\sqrt {x}\right )+\frac {5848}{105} \text {Subst}\left (\int \frac {x^2}{\sqrt {2+5 x^2+3 x^4}} \, dx,x,\sqrt {x}\right )\\ &=\frac {5848 \sqrt {x} (2+3 x)}{315 \sqrt {2+5 x+3 x^2}}+\frac {2}{105} \sqrt {x} (1045+531 x) \sqrt {2+5 x+3 x^2}-\frac {2 (14+5 x) \left (2+5 x+3 x^2\right )^{3/2}}{7 \sqrt {x}}-\frac {5848 \sqrt {2} (1+x) \sqrt {\frac {2+3 x}{1+x}} E\left (\tan ^{-1}\left (\sqrt {x}\right )|-\frac {1}{2}\right )}{315 \sqrt {2+5 x+3 x^2}}+\frac {482 \sqrt {2} (1+x) \sqrt {\frac {2+3 x}{1+x}} F\left (\tan ^{-1}\left (\sqrt {x}\right )|-\frac {1}{2}\right )}{21 \sqrt {2+5 x+3 x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 20.15, size = 163, normalized size = 0.87 \begin {gather*} \frac {-2 \left (-3328-7390 x+177 x^2+9855 x^3+7641 x^4+2025 x^5\right )+5848 i \sqrt {2} \sqrt {1+\frac {1}{x}} \sqrt {3+\frac {2}{x}} x^{3/2} E\left (i \sinh ^{-1}\left (\frac {\sqrt {\frac {2}{3}}}{\sqrt {x}}\right )|\frac {3}{2}\right )+1382 i \sqrt {2} \sqrt {1+\frac {1}{x}} \sqrt {3+\frac {2}{x}} x^{3/2} F\left (i \sinh ^{-1}\left (\frac {\sqrt {\frac {2}{3}}}{\sqrt {x}}\right )|\frac {3}{2}\right )}{315 \sqrt {x} \sqrt {2+5 x+3 x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.74, size = 123, normalized size = 0.66
method | result | size |
default | \(-\frac {2 \left (6075 x^{5}+771 \sqrt {6 x +4}\, \sqrt {3 x +3}\, \sqrt {6}\, \sqrt {-x}\, \EllipticF \left (\frac {\sqrt {6 x +4}}{2}, i \sqrt {2}\right )-1462 \sqrt {6 x +4}\, \sqrt {3 x +3}\, \sqrt {6}\, \sqrt {-x}\, \EllipticE \left (\frac {\sqrt {6 x +4}}{2}, i \sqrt {2}\right )+22923 x^{4}+29565 x^{3}+26847 x^{2}+21690 x +7560\right )}{945 \sqrt {3 x^{2}+5 x +2}\, \sqrt {x}}\) | \(123\) |
risch | \(-\frac {2 \left (675 x^{5}+2547 x^{4}+3285 x^{3}+2983 x^{2}+2410 x +840\right )}{105 \sqrt {x}\, \sqrt {3 x^{2}+5 x +2}}-\frac {\left (-\frac {482 \sqrt {6 x +4}\, \sqrt {3 x +3}\, \sqrt {-6 x}\, \EllipticF \left (\frac {\sqrt {6 x +4}}{2}, i \sqrt {2}\right )}{63 \sqrt {3 x^{3}+5 x^{2}+2 x}}-\frac {2924 \sqrt {6 x +4}\, \sqrt {3 x +3}\, \sqrt {-6 x}\, \left (\frac {\EllipticE \left (\frac {\sqrt {6 x +4}}{2}, i \sqrt {2}\right )}{3}-\EllipticF \left (\frac {\sqrt {6 x +4}}{2}, i \sqrt {2}\right )\right )}{315 \sqrt {3 x^{3}+5 x^{2}+2 x}}\right ) \sqrt {x \left (3 x^{2}+5 x +2\right )}}{\sqrt {x}\, \sqrt {3 x^{2}+5 x +2}}\) | \(203\) |
elliptic | \(\frac {\sqrt {x \left (3 x^{2}+5 x +2\right )}\, \left (-\frac {8 \left (3 x^{2}+5 x +2\right )}{\sqrt {x \left (3 x^{2}+5 x +2\right )}}-\frac {30 x^{2} \sqrt {3 x^{3}+5 x^{2}+2 x}}{7}-\frac {316 x \sqrt {3 x^{3}+5 x^{2}+2 x}}{35}-\frac {62 \sqrt {3 x^{3}+5 x^{2}+2 x}}{21}+\frac {482 \sqrt {6 x +4}\, \sqrt {3 x +3}\, \sqrt {-6 x}\, \EllipticF \left (\frac {\sqrt {6 x +4}}{2}, i \sqrt {2}\right )}{63 \sqrt {3 x^{3}+5 x^{2}+2 x}}+\frac {2924 \sqrt {6 x +4}\, \sqrt {3 x +3}\, \sqrt {-6 x}\, \left (\frac {\EllipticE \left (\frac {\sqrt {6 x +4}}{2}, i \sqrt {2}\right )}{3}-\EllipticF \left (\frac {\sqrt {6 x +4}}{2}, i \sqrt {2}\right )\right )}{315 \sqrt {3 x^{3}+5 x^{2}+2 x}}\right )}{\sqrt {x}\, \sqrt {3 x^{2}+5 x +2}}\) | \(243\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 0.61, size = 65, normalized size = 0.35 \begin {gather*} \frac {2 \, {\left (7070 \, \sqrt {3} x {\rm weierstrassPInverse}\left (\frac {28}{27}, \frac {80}{729}, x + \frac {5}{9}\right ) - 26316 \, \sqrt {3} x {\rm weierstrassZeta}\left (\frac {28}{27}, \frac {80}{729}, {\rm weierstrassPInverse}\left (\frac {28}{27}, \frac {80}{729}, x + \frac {5}{9}\right )\right ) - 27 \, {\left (225 \, x^{3} + 474 \, x^{2} + 155 \, x + 420\right )} \sqrt {3 \, x^{2} + 5 \, x + 2} \sqrt {x}\right )}}{2835 \, x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} - \int \left (- \frac {4 \sqrt {3 x^{2} + 5 x + 2}}{x^{\frac {3}{2}}}\right )\, dx - \int 19 \sqrt {x} \sqrt {3 x^{2} + 5 x + 2}\, dx - \int 15 x^{\frac {3}{2}} \sqrt {3 x^{2} + 5 x + 2}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int -\frac {\left (5\,x-2\right )\,{\left (3\,x^2+5\,x+2\right )}^{3/2}}{x^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________